﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Public;
using QLTV_Data;

namespace QLTV_BLL
{
   public class ViTri_BLL
    {
        ViTri_Data vitri = new ViTri_Data();
        public DataTable LayDuLieu()
        {
            return vitri.layDuLieu();
        }
       public int insert_viTri(ViTriLuuTru_Public tenViTri, ViTriLuuTru_Public moTa)
       {
           return vitri.insert_ViTri(tenViTri,moTa);
       }
       public int update_viTri(ViTriLuuTru_Public maViTri, ViTriLuuTru_Public tenViTri, ViTriLuuTru_Public moTa)
       {
           return vitri.update_ViTri(maViTri,tenViTri,moTa);
       }
       public int delete_viTri(ViTriLuuTru_Public maViTri)
       {
           return vitri.delete_ViTri(maViTri);
       }
    }
}
